package com.cjw.pojo.query.eventTracking;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : cjw
 * @date: : 2022/3/22 20:14
 * @description : 添加埋点DTO
 */
@ApiModel("添加埋点DTO")
@Data
public class AddEventDTO {

    @ApiModelProperty("埋点名称")
    @NotNull
    private String name;

    @ApiModelProperty(name = "类型", notes = "1-增 2-删 3-改 4-查")
    @NotNull
    private Integer type;

    @ApiModelProperty("资源id")
    @NotNull
    private Long resourceId;

}
